import Vue from 'vue';
// 全局提示框
Vue.prototype.$toast = function (title, icon = 'none', duration = 1500) {
	uni.showToast({
		title: title,
		duration: duration,
		icon
	})
	return new Promise(resolve => {
		setTimeout(resolve, duration)
	});
	
}
export default {
    init() {
        console.log("*** tim uni-add ***")
    }
}